<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AlterSlideshowsAndDescriptionToTradeActivitiesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('trade_activities', function (Blueprint $table) {
        	$table->longText('summary')->comment('活动简介');
        	$table->enum('slideshow',[0,1])->default('0')->comment('是否推荐到版贸的轮播图');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('trade_activities', function (Blueprint $table) {
            
        });
    }
}
